Fix “Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained whitespace” error in Kali Linux

I just installed Kali Linux 1.0.6 on VirtualBox. My installation finished without a problem but when I tried to Login, I had the following error

Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained whitespace

Fix Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained white space error - 1 - blackMORE Ops

This error doesn’t really stop me from doing anything, (I just pressed Close and it went away for the whole session), but next time I reboot and tried to Login, same error popped up. After few times, I was just annoyed and started looking around for a solutions.

I later found that many users got similar problem’s in Ubuntu, Linux Mint, CentOS and in my case Kali Linux. This problem is not only limited to VirtualBox, it also affects Microsoft Virtual PC 2007 and standalone installation. In this guide we will try to solve it for the following types of installation

  1. Linux installed  in VirtualBox
  2. Linux installed in Microsoft Virtual PC 2007
  3. Standalone Installation

Following is how I fixed my issue in Kali Linux, the same steps applies to Ubuntu, Linux Mint or any other Linux distributions.

Fix “Could not apply stored configuration to monitors error” in Kali Linux

Login to your terminal. In Kali Linux you’re probably already logged in as root. Many people create non root or standard user in Kali Linux, so if you’re one of them, Login to your own account. Once logged in change your directory to .config folder in your home directory.

cd .config

Rename monitors.xml file to monitors.xml.bkp. In here, we are keeping a backup file just to play safe.

mv monitors.xml monitorx.xml.bkp

Fix Could not apply stored configuration to monitors. Error on line 1 Char 1. Document was empty or contained white space error - 2 - blackMORE Ops

That was easy. Now Logout and Login back again in your account.

No more annoying useless popups saying “Could not apply stored configuration to monitors”. Now you can delete monitors.xml.bkp file if you feel like.

Thanks for reading. If you found this useful, please share and follow me on Facebook/Twitter for regular updates.

Check Also

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

If you’ve encountered an issue where Hashcat initially only recognizes your CPU and not the …

Boot Ubuntu Server 22.04 LTS from USB SSD on Raspberry Pi 4

Boot Ubuntu Server 22.04 LTS from USB SSD on Raspberry Pi 4

This is a guide for configuring Raspberry Pi4 to boot Ubuntu from external USB SSD …

14 comments

  1. Spot on bro. Thanks for the solution. Worked for Ubuntu as well.

  2. thanks guy work on kali 1.0.6

  3. Worked like a charm in Linux Mint 17 64 Bits on VmWare

  4. Thanks worked great on ubuntu 14.04. Somehow also fixed my terminal shortcut(ctrl + alt + t) which had stopped working as well.

  5. Didn’t work on 14.10 with readon installed

  6. Worked for me on vmware workstation guest Centos 7. Thank you!

  7. worked for me on vmware fusion with guest Mint 17.1. Thank you.

  8. gracias amigo no se si hables español pero me sirvio :)

  9. thank for your guidence i have resolve my issue in my my hp intel i5 laptop..

  10. thank you. worked on my ubuntu

  11. Thank you. It worked on linuxmint.

  12. We take a look at a number of variants of a number of pages to optimize your
    conversion funnels with velocity and effectivity.

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.